@function strip-units($px) {
  @return ($px / ($px * 0 + 1));
}
//兼容px写法,偷懒用
@function px2rem($px){
  @if not unitless($px) {
    $px: strip-units($px);
  }
  @return $px*320/700/20 + rem;
}